Package pl.wendigo.chrome.api.webaudio

Contains DevTools Protocol WebAudio domain implementation accessible via WebAudioDomain class.

Types

AudioListener
Link copied to clipboard
data class AudioListener(listenerId: GraphObjectId, contextId: GraphObjectId)
Protocol object for AudioListener
AudioListenerCreatedEvent
Link copied to clipboard
data class AudioListenerCreatedEvent(listener: AudioListener) : Event
Notifies that the construction of an AudioListener has finished.
AudioListenerWillBeDestroyedEvent
Link copied to clipboard
data class AudioListenerWillBeDestroyedEvent(contextId: GraphObjectId, listenerId: GraphObjectId) : Event
Notifies that a new AudioListener has been created.
AudioNode
Link copied to clipboard
data class AudioNode(nodeId: GraphObjectId, contextId: GraphObjectId, nodeType: NodeType, numberOfInputs: Double, numberOfOutputs: Double, channelCount: Double, channelCountMode: ChannelCountMode, channelInterpretation: ChannelInterpretation)
Protocol object for AudioNode
AudioNodeCreatedEvent
Link copied to clipboard
data class AudioNodeCreatedEvent(node: AudioNode) : Event
Notifies that a new AudioNode has been created.
AudioNodeWillBeDestroyedEvent
Link copied to clipboard
data class AudioNodeWillBeDestroyedEvent(contextId: GraphObjectId, nodeId: GraphObjectId) : Event
Notifies that an existing AudioNode has been destroyed.
AudioParam
Link copied to clipboard
data class AudioParam(paramId: GraphObjectId, nodeId: GraphObjectId, contextId: GraphObjectId, paramType: ParamType, rate: AutomationRate, defaultValue: Double, minValue: Double, maxValue: Double)
Protocol object for AudioParam
AudioParamCreatedEvent
Link copied to clipboard
data class AudioParamCreatedEvent(param: AudioParam) : Event
Notifies that a new AudioParam has been created.
AudioParamWillBeDestroyedEvent
Link copied to clipboard
data class AudioParamWillBeDestroyedEvent(contextId: GraphObjectId, nodeId: GraphObjectId, paramId: GraphObjectId) : Event
Notifies that an existing AudioParam has been destroyed.
AutomationRate
Link copied to clipboard
enum AutomationRate : Enum<AutomationRate>
Enum of AudioParam::AutomationRate from the spec
BaseAudioContext
Link copied to clipboard
data class BaseAudioContext(contextId: GraphObjectId, contextType: ContextType, contextState: ContextState, realtimeData: ContextRealtimeData?, callbackBufferSize: Double, maxOutputChannelCount: Double, sampleRate: Double)
Protocol object for BaseAudioContext
ChannelCountMode
Link copied to clipboard
enum ChannelCountMode : Enum<ChannelCountMode>
Enum of AudioNode::ChannelCountMode from the spec
ChannelInterpretation
Link copied to clipboard
enum ChannelInterpretation : Enum<ChannelInterpretation>
Enum of AudioNode::ChannelInterpretation from the spec
ContextChangedEvent
Link copied to clipboard
data class ContextChangedEvent(context: BaseAudioContext) : Event
Notifies that existing BaseAudioContext has changed some properties (id stays the same)..
ContextCreatedEvent
Link copied to clipboard
data class ContextCreatedEvent(context: BaseAudioContext) : Event
Notifies that a new BaseAudioContext has been created.
ContextRealtimeData
Link copied to clipboard
data class ContextRealtimeData(currentTime: Double, renderCapacity: Double, callbackIntervalMean: Double, callbackIntervalVariance: Double)
Fields in AudioContext that change in real-time.
ContextState
Link copied to clipboard
enum ContextState : Enum<ContextState>
Enum of AudioContextState from the spec
ContextType
Link copied to clipboard
enum ContextType : Enum<ContextType>
Enum of BaseAudioContext types
ContextWillBeDestroyedEvent
Link copied to clipboard
data class ContextWillBeDestroyedEvent(contextId: GraphObjectId) : Event
Notifies that an existing BaseAudioContext will be destroyed.
GetRealtimeDataRequest
Link copied to clipboard
data class GetRealtimeDataRequest(contextId: GraphObjectId)
Represents request frame that can be used with WebAudio#getRealtimeData operation call.
GetRealtimeDataResponse
Link copied to clipboard
data class GetRealtimeDataResponse(realtimeData: ContextRealtimeData)
Represents response frame that is returned from WebAudio#getRealtimeData operation call.
GraphObjectId
Link copied to clipboard
typealias GraphObjectId = String

An unique ID for a graph object (AudioContext, AudioNode, AudioParam) in Web Audio API

NodeParamConnectedEvent
Link copied to clipboard
data class NodeParamConnectedEvent(contextId: GraphObjectId, sourceId: GraphObjectId, destinationId: GraphObjectId, sourceOutputIndex: Double?) : Event
Notifies that an AudioNode is connected to an AudioParam.
NodeParamDisconnectedEvent
Link copied to clipboard
data class NodeParamDisconnectedEvent(contextId: GraphObjectId, sourceId: GraphObjectId, destinationId: GraphObjectId, sourceOutputIndex: Double?) : Event
Notifies that an AudioNode is disconnected to an AudioParam.
NodesConnectedEvent
Link copied to clipboard
data class NodesConnectedEvent(contextId: GraphObjectId, sourceId: GraphObjectId, destinationId: GraphObjectId, sourceOutputIndex: Double?, destinationInputIndex: Double?) : Event
Notifies that two AudioNodes are connected.
NodesDisconnectedEvent
Link copied to clipboard
data class NodesDisconnectedEvent(contextId: GraphObjectId, sourceId: GraphObjectId, destinationId: GraphObjectId, sourceOutputIndex: Double?, destinationInputIndex: Double?) : Event
Notifies that AudioNodes are disconnected.
NodeType
Link copied to clipboard
typealias NodeType = String

Enum of AudioNode types

ParamType
Link copied to clipboard
typealias ParamType = String

Enum of AudioParam types

WebAudioDomain
Link copied to clipboard
class WebAudioDomain : Domain
This domain allows inspection of Web Audio API.